SpringAnimation.this

Creates a new AdwSpringAnimation on @widget.

The animation will animate @target from @from to @to with the dynamics of a spring described by @spring_params.

  1. this(AdwSpringAnimation* adwSpringAnimation, bool ownedRef)
  2. this(Widget widget, double from, double to, SpringParams springParams, AnimationTarget target)
    class SpringAnimation

Parameters

widget Widget

a widget to create animation on

from double

a value to animate from

to double

a value to animate to

springParams SpringParams

physical parameters of the spring

target AnimationTarget

a target value to animate

Return Value

the newly created animation

Throws

ConstructionException GTK+ fails to create the object.

Meta